<?php
/* 
* @Author: LDF QQ 47121862
* @Date:   2014-06-10 14:39:10
* @Last Modified by:   LDF QQ 47121862
* @Last Modified time: 2014-06-12 17:41:24
*/
Class MuhouControl extends ConfigControl{
	function index(){
		$model = K('article');
		$page=new Page($model->count());
		$art = getTipStyle($model->where(array('ldf_article.cid'=>15))->limit($page->limit())->order('ldf_article.aid DESC')->all()); //文章
		$this->assign('art',$art); //分配文章
		$this->assign('page',$page->show(3));
		$this->display();
	}
}
